import { tableServiceInterface } from "@/common/interface/table.interface";
import {
  $musicIosVersionRecordAdd,
  $musicIosVersionRecordDelete,
  $musicIosVersionRecordDetail,
  $musicIosVersionRecordList,
  $musicIosVersionRecordUpdate,
  $musicIosVersionRecordPass,
} from "@/apis/ios/versionRecord/versionRecord";
import {
  musicIosVersionRecordAddInterface,
  musicIosVersionRecordListInterface,
  musicIosVersionRecordUpdateInterface
} from "@/apis/ios/versionRecord/versionRecord.interface";
export default class MusicApkService implements tableServiceInterface {
  async getTable(e: musicIosVersionRecordListInterface): Promise<any> {
    return $musicIosVersionRecordList(e);
  }
  deleteMultiple(e: Array<string>): Promise<any> {
    return $musicIosVersionRecordDelete(e);
  }
  edit(e: musicIosVersionRecordUpdateInterface): Promise<any> {
    return $musicIosVersionRecordUpdate(e);
  }
  add(e: musicIosVersionRecordAddInterface): Promise<any> {
    return $musicIosVersionRecordAdd(e);
  }
  detail(id: string): Promise<any> {
    return $musicIosVersionRecordDetail(id);
  }
  // 审核通过
  pass(id: string): Promise<any> {
    return $musicIosVersionRecordPass(id);
  }
}